<?php

/*
	Class: Watch_AdminController

	About: Author
		Rich Joslin

	About: License
		<http://communit.as/docs/license>
*/
class Watch_AdminController extends Cts_Controller_Action_Admin {

	/* Group: Instance Methods */

	function init(){
		parent::init();
	}

	/* Group: Actions */

	/*
		Function: index

		View Variables:
			feeditems - An array of feed items.
	*/
	function indexAction() {
		$username = $this->_identity->username;
		$feeditems_table = new WatchFeedItems();
		$this->view->feeditems = $feeditems_table->getItems($username);
	}

}
